package com.mldong.wxauth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author mldong
 * @date 2022/1/4
 */
@TableName("t_user")
@Data
public class User {
    @Id
    @ApiModelProperty(value = "唯一索引")
    private String id;
    @ApiModelProperty(value = "用户名", position = 5)
    private String userName;
    @ApiModelProperty(value = "密码", position = 10)
    private String password;
    @ApiModelProperty(value = "昵称", position = 15)
    private String nickName;
    @ApiModelProperty(value = "姓名", position = 20)
    private String realName;
    @ApiModelProperty(value = "手机号", position = 25)
    private String mobilePhone;
    @ApiModelProperty(value = "邮箱", position = 30)
    private String email;
    @ApiModelProperty(value = "头像", position = 35)
    private String avatar;
    @ApiModelProperty(value = "性别", position = 40)
    private Integer sex;
    @ApiModelProperty(value = "是否锁定", position = 45)
    private Boolean isLocked;
    @ApiModelProperty(value = "备注", position = 50)
    private String remark;
    @ApiModelProperty(value = "微信openid", position = 55)
    private String openid;
    @ApiModelProperty(hidden = true)
    private Date createTime;
    @ApiModelProperty(hidden = true)
    private Date updateTime;
    @ApiModelProperty(hidden = true)
    private Boolean isDeleted;
}
